export default [
    {
      url: '/planmanage/getproject',
      type: 'get',
      response: config => {
        return {
          code: 20000,
          data:[
            {
              contractNo: '0001201911025861',
              assetName: 'xxx项目1',
              assetType: '房建',
              assetLevel: '市级',
              startTime: '2020-3-1',
              endTime: '2022-3-1',
              construction: 'xxx公司',
              statistics: '是'
            },
            {
              contractNo: '0001201911025031',
              assetName: 'xxx项目2',
              assetType: '市政',
              assetLevel: '市级',
              startTime: '2020-2-1',
              endTime: '2023-1-1',
              construction: 'xxx公司',
              statistics: '是'
    
            },
        ]
        }
      }
    },
    {
        url: '/planmanage/lookproject',
        type: 'get',
        response: config => {
          return {
            code: 20000,
            data:
              {
                assetName: 'xxx项目1',
                assetType: '房建',
                assetLevel: '市级',
                startTime: '2020-3-1',
                endTime: '2022-3-1',
                construction: 'xxx公司',
                statistics:'是',
                investment:'50亿',
                legalUnit:'研创园',
                site:'研创园东'
              }
          }
        }
      },
      {
        url: '/planmanage/looktask',
        type: 'get',
        response: config => {
          return {
            code: 20000,
            data:[{
                id: "1",
                label: '立项',
                level: '1级节点',
                startTime: '2020-01-20',
                endTime: '2020-03-30',
                plannedHours: '2个月',
                precondition: '暂无条件',
                responsibleDepartment: '投资与人才促进部',
                desc: '工程备注信息',
                children: [
                  {
                  id: "1-1",
                  label: '确定建设主体',
                  level: '2级节点',
                  startTime: '2020-01-20',
                  endTime: '2020-03-30',
                 
                  plannedHours: '2个月',
                  precondition: '暂无条件',
                  responsibleDepartment: '规土局',
                  desc: '',
                  children: [{
                    id: "1-1-1",
                    label: '项目公司营业执照及公章',
                    startTime: '2020-01-20',
                    endTime: '2020-03-30',
                   
                    plannedHours: '2个月',
                    precondition: '暂无条件',
                    responsibleDepartment: '规土局',
                    desc: '',
                  }]
                  },
                  {
                  id: "1-2",
                  label: '立项',
                  level: '2级节点',
                  startTime: '2020-01-20',
                  endTime: '2020-03-30',
                 
                  plannedHours: '2个月',
                  precondition: '暂无条件',
                  responsibleDepartment: '规土局',
                  desc: '',
                  children: [{
                    id: "1-2-1",
                    label: '备案证',
                    level: '3级节点',
                    startTime: '2020-01-20',
                    endTime: '2020-03-30',
                   
                    plannedHours: '2个月',
                    precondition: '暂无条件',
                    responsibleDepartment: '规土局',
                    desc: '',
                    children: [{
                      id: "1-2-1-1",
                      label: '科研',
                      level: '4级节点',
                      startTime: '2020-01-20',
                      endTime: '2020-03-30',
                     
                      plannedHours: '2个月',
                      precondition: '概念方案',
                      responsibleDepartment: '规土局',
                      desc: '',
                    },
                    {
                      id: "1-2-1-2",
                      label: '备案证',
                      level: '4级节点',
                      startTime: '2020-01-20',
                      endTime: '2020-03-30',
                      
                      plannedHours: '2个月',
                      precondition: '可研',
                      responsibleDepartment: '规土局',
                      desc: '',
                    }]
                  }]
                }]
              }]
                
                
            
              
          }
        }
      },
      {
        url: '/planmanage/gettype',
        type: 'get',
        response: config => {
          return {
            code: 20000,
            data:{
                projecttype:["房建","市政","装修","隧道"]
            }
          }
        }
      },
      {
        url: '/planmanage/gettemplate',
        type: 'get',
        response: config => {
          return {
            code: 20000,
            data:[
                {idno:1,
                name:"房建",
                node:[{
                    id: "1",
                    label: '立项',
                    level: '1级节点',
                    startTime: '2020-01-20',
                    endTime: '2020-03-30',
                    plannedHours: '2个月',
                    precondition: '暂无条件',
                    responsibleDepartment: '投资与人才促进部',
                    desc: '工程备注信息',
                    children: [
                      {
                      id: "1-1",
                      label: '确定建设主体',
                      level: '2级节点',
                      startTime: '2020-01-20',
                      endTime: '2020-03-30',
                     
                      plannedHours: '2个月',
                      precondition: '暂无条件',
                      responsibleDepartment: '规土局',
                      desc: '',
                      children: [{
                        id: "1-1-1",
                        label: '项目公司营业执照及公章',
                        startTime: '2020-01-20',
                        endTime: '2020-03-30',
                       
                        plannedHours: '2个月',
                        precondition: '暂无条件',
                        responsibleDepartment: '规土局',
                        desc: '',
                      }]
                      },
                      {
                      id: "1-2",
                      label: '立项',
                      level: '2级节点',
                      startTime: '2020-01-20',
                      endTime: '2020-03-30',
                     
                      plannedHours: '2个月',
                      precondition: '暂无条件',
                      responsibleDepartment: '规土局',
                      desc: '',
                      children: [{
                        id: "1-2-1",
                        label: '备案证',
                        level: '3级节点',
                        startTime: '2020-01-20',
                        endTime: '2020-03-30',
                       
                        plannedHours: '2个月',
                        precondition: '暂无条件',
                        responsibleDepartment: '规土局',
                        desc: '',
                        children: [{
                          id: "1-2-1-1",
                          label: '科研',
                          level: '4级节点',
                          startTime: '2020-01-20',
                          endTime: '2020-03-30',
                         
                          plannedHours: '2个月',
                          precondition: '概念方案',
                          responsibleDepartment: '规土局',
                          desc: '',
                        },
                        {
                          id: "1-2-1-2",
                          label: '备案证',
                          level: '4级节点',
                          startTime: '2020-01-20',
                          endTime: '2020-03-30',
                          
                          plannedHours: '2个月',
                          precondition: '可研',
                          responsibleDepartment: '规土局',
                          desc: '',
                        }]
                      }]
                    }]
                  }]},
                {idno:2,
                name:"市政",
                node:[{
                    id: "2",
                    label: '立项',
                    level: '1级节点',
                    startTime: '2020-01-20',
                    endTime: '2020-03-30',
                    plannedHours: '2个月',
                    precondition: '暂无条件',
                    responsibleDepartment: '投资与人才促进部',
                    desc: '工程备注信息',
                    children: [
                      {
                      id: "2-1",
                      label: '确定建设主体',
                      level: '2级节点',
                      startTime: '2020-01-20',
                      endTime: '2020-03-30',
                     
                      plannedHours: '2个月',
                      precondition: '暂无条件',
                      responsibleDepartment: '规土局',
                      desc: '',
                      children: [{
                        id: "2-1-1",
                        label: '项目公司营业执照及公章',
                        startTime: '2020-01-20',
                        endTime: '2020-03-30',
                       
                        plannedHours: '2个月',
                        precondition: '暂无条件',
                        responsibleDepartment: '规土局',
                        desc: '',
                      }]
                      },
                      {
                      id: "2-2",
                      label: '立项',
                      level: '2级节点',
                      startTime: '2020-01-20',
                      endTime: '2020-03-30',
                     
                      plannedHours: '2个月',
                      precondition: '暂无条件',
                      responsibleDepartment: '规土局',
                      desc: '',
                      children: [{
                        id: "2-2-1",
                        label: '备案证',
                        level: '3级节点',
                        startTime: '2020-01-20',
                        endTime: '2020-03-30',
                       
                        plannedHours: '2个月',
                        precondition: '暂无条件',
                        responsibleDepartment: '规土局',
                        desc: '',
                        children: [{
                          id: "2-2-1-1",
                          label: '科研',
                          level: '4级节点',
                          startTime: '2020-01-20',
                          endTime: '2020-03-30',
                         
                          plannedHours: '2个月',
                          precondition: '概念方案',
                          responsibleDepartment: '规土局',
                          desc: '',
                        },
                        {
                          id: "2-2-1-2",
                          label: '备案证',
                          level: '4级节点',
                          startTime: '2020-01-20',
                          endTime: '2020-03-30',
                          
                          plannedHours: '2个月',
                          precondition: '可研',
                          responsibleDepartment: '规土局',
                          desc: '',
                        }]
                      }]
                    }]
                  }]},
               ], 
          }
        }
      },
]